<?
	include 'libraries/open_db_connection.php'; 
	include	'libraries/print_elements.php';
	include 'libraries/set_values.php';
	
	print_header();
	print_headline();
?>
<div id="main">
<?
	print_navigator();
	?>
	<div id="container">
	<?
	$current_month = "";
	$all_active_events = get_all_active_events_ID();
	while ($event_ID = mysql_fetch_array($all_active_events))
	{
		$current_month = print_event($event_ID['ID'],$current_month);
	}
	mysql_free_result($all_active_events);
	?>
	</div>
	</div>
	<?
	
	print_footline();
	print_footer();
	include 'libraries/close_db_connection.php'; 
?>